package com.local.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@Entity
@Table(name = "local_parklot")
public class LocalParklot {
    @NotEmpty
    @Length(min=1,max=32)
    @Column(name = "parklot_uuid")
    private String parklotUuid;

    @Column(name = "site_uuid")
    private String siteUuid;

    @Column(name = "parklot_no")
    private String parklotNo;

    @Column(name = "parklot_coordinate")
    private String parklotCoordinate;

    @Column(name = "parklot_status")
    private String parklotStatus;

    public String getParklotUuid() {
        return parklotUuid;
    }

    public void setParklotUuid(String parklotUuid) {
        this.parklotUuid = parklotUuid == null ? null : parklotUuid.trim();
    }

    public String getSiteUuid() {
        return siteUuid;
    }

    public void setSiteUuid(String siteUuid) {
        this.siteUuid = siteUuid == null ? null : siteUuid.trim();
    }

    public String getParklotNo() {
        return parklotNo;
    }

    public void setParklotNo(String parklotNo) {
        this.parklotNo = parklotNo == null ? null : parklotNo.trim();
    }

    public String getParklotCoordinate() {
        return parklotCoordinate;
    }

    public void setParklotCoordinate(String parklotCoordinate) {
        this.parklotCoordinate = parklotCoordinate == null ? null : parklotCoordinate.trim();
    }

    public String getParklotStatus() {
        return parklotStatus;
    }

    public void setParklotStatus(String parklotStatus) {
        this.parklotStatus = parklotStatus == null ? null : parklotStatus.trim();
    }
}